.layer{
  width:600px;
  height:200px;
  background: green;

  > div{
    width:400px;
    height: 200px;
  }

  .flex{
    display: flex;
  }
}